package mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengshx
 * @since 2022-06-25
 */
@TableName("down_file_task_link")
public class DownFileTaskLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 任务外键
     */
    @TableField("task_id")
    private Integer taskId;

    /**
     * 任务链接
     */
    @TableField("task_link")
    private String taskLink;

    /**
     * 链接状态，0刚创建，1已经下载，2下载失败
     */
    @TableField("task_status")
    private String taskStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }
    public String getTaskLink() {
        return taskLink;
    }

    public void setTaskLink(String taskLink) {
        this.taskLink = taskLink;
    }
    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    @Override
    public String toString() {
        return "DownFileTaskLink{" +
            "id=" + id +
            ", taskId=" + taskId +
            ", taskLink=" + taskLink +
            ", taskStatus=" + taskStatus +
        "}";
    }
}
